We apply checkerboard plane calibration method to precisely calibrate the camera. According to the internal as well as external parameters of camera obtained by camera calibration and the transformational relation of coordinate systems, we get the welding seam equation set under the base coordinate system of robot. 采用棋盘格平面标定法对所用摄像机进行精确标定,根据摄像机内外参数及坐标系之间的转换关系,将图像坐标系焊缝方程转换为在机器人基坐标系下的焊接路径方程组。